package org.hswebframework.web.dict;

import com.alibaba.fastjson.annotation.JSONType;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@Dict(id = "UserCode")
@JSONType(deserializer = EnumDict.EnumDictJSONDeserializer.class)
public enum UserCode implements EnumDict<String> {

    SIMPLE("SIMPLE", "TEXT", "测试"),
    TEST("TEST", "TEST", "测试"),
    CODE0("TEST0","TEST0","TEST0"),
    CODE1("TEST1","TEST1","TEST1"),
    CODE2("TEST2","TEST2","TEST2"),
    CODE3("TEST3","TEST3","TEST3"),
    CODE4("TEST4","TEST4","TEST4"),
    CODE5("TEST5","TEST5","TEST5"),
    CODE6("TEST6","TEST6","TEST6"),
    CODE7("TEST7","TEST7","TEST7"),
    CODE8("TEST8","TEST8","TEST8"),
    CODE9("TEST9","TEST9","TEST9"),
    CODE10("TEST10","TEST10","TEST10"),
    CODE11("TEST11","TEST11","TEST11"),
    CODE12("TEST12","TEST12","TEST12"),
    CODE13("TEST13","TEST13","TEST13"),
    CODE14("TEST14","TEST14","TEST14"),
    CODE15("TEST15","TEST15","TEST15"),
    CODE16("TEST16","TEST16","TEST16"),
    CODE17("TEST17","TEST17","TEST17"),
    CODE18("TEST18","TEST18","TEST18"),
    CODE19("TEST19","TEST19","TEST19"),
    CODE20("TEST20","TEST20","TEST20"),
    CODE21("TEST21","TEST21","TEST21"),
    CODE22("TEST22","TEST22","TEST22"),
    CODE23("TEST23","TEST23","TEST23"),
    CODE24("TEST24","TEST24","TEST24"),
    CODE25("TEST25","TEST25","TEST25"),
    CODE26("TEST26","TEST26","TEST26"),
    CODE27("TEST27","TEST27","TEST27"),
    CODE28("TEST28","TEST28","TEST28"),
    CODE29("TEST29","TEST29","TEST29"),
    CODE30("TEST30","TEST30","TEST30"),
    CODE31("TEST31","TEST31","TEST31"),
    CODE32("TEST32","TEST32","TEST32"),
    CODE33("TEST33","TEST33","TEST33"),
    CODE34("TEST34","TEST34","TEST34"),
    CODE35("TEST35","TEST35","TEST35"),
    CODE36("TEST36","TEST36","TEST36"),
    CODE37("TEST37","TEST37","TEST37"),
    CODE38("TEST38","TEST38","TEST38"),
    CODE39("TEST39","TEST39","TEST39"),
    CODE40("TEST40","TEST40","TEST40"),
    CODE41("TEST41","TEST41","TEST41"),
    CODE42("TEST42","TEST42","TEST42"),
    CODE43("TEST43","TEST43","TEST43"),
    CODE44("TEST44","TEST44","TEST44"),
    CODE45("TEST45","TEST45","TEST45"),
    CODE46("TEST46","TEST46","TEST46"),
    CODE47("TEST47","TEST47","TEST47"),
    CODE48("TEST48","TEST48","TEST48"),
    CODE49("TEST49","TEST49","TEST49"),
    CODE50("TEST50","TEST50","TEST50"),
    CODE51("TEST51","TEST51","TEST51"),
    CODE52("TEST52","TEST52","TEST52"),
    CODE53("TEST53","TEST53","TEST53"),
    CODE54("TEST54","TEST54","TEST54"),
    CODE55("TEST55","TEST55","TEST55"),
    CODE56("TEST56","TEST56","TEST56"),
    CODE57("TEST57","TEST57","TEST57"),
    CODE58("TEST58","TEST58","TEST58"),
    CODE59("TEST59","TEST59","TEST59"),
    CODE60("TEST60","TEST60","TEST60"),
    ;


    private String value;

    private String text;

    private String comments;

    @Override
    public boolean isWriteJSONObjectEnabled() {
        return true;
    }
}
